﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="SearchNews.ascx.vb"
    Inherits="WebForm_Main_SearchNews" %>
<%@ Register Namespace="My" TagPrefix="cc1" %>
<table width="100%" border="0" cellspacing="0" cellpadding="0" summary="">
  <tr>
    <td>
      <table align="center" id="tb">
        <tr>
          <td width="50" background="<%=ResolveUrl("~/images/newImage/news_bg.jpg")%>"><img src="<%=ResolveUrl("~/images/newImage/news_title.jpg")%>" width="52" height="45" /></td>
          <td width="365" background="<%=ResolveUrl("~/images/newImage/news_bg.jpg")%>"> <div class="titleword">環保新聞</div></td>
          <td width="65"><a href="http://www.epb.tpc.gov.tw/web/News" target="_blank"><img src="<%=ResolveUrl("~/images/newImage/more.jpg")%>" width="65" height="45" /></a></td>
        </tr>
      </table>
      <table align="center" id="tb">
        <tr>
          <td colspan="3">
          <table width="480" border="0" align="center">
            <tr>
                <td colspan="2" align="Left" >
                    <asp:Label ID="lblTopOne" runat="server"></asp:Label>
                    <asp:HyperLink ID="hlinkNews" runat="server" Font-Size="9pt" NavigateUrl=''
                                            Target="_blank" Text='詳全文'></asp:HyperLink>
                </td>
            </tr>
            <tr>
              <td colspan="2"><hr size="1" class="txtCCC"></td>
              </tr>
                 <tr>
                   <td colspan="2" align="center">
                      <asp:UpdatePanel ID="upAddNews" runat="server" UpdateMode="Conditional">
                            <ContentTemplate>
                                <asp:DataList ID="dlNews" runat="server" RepeatColumns="2" RepeatDirection="Horizontal" Width="100%">
                                    <ItemTemplate>
                                        <img src="<%=ResolveUrl("~/images/newImage/news.jpg")%>" width="23" height="9">
                                        <asp:HyperLink ID="hlinkNews" runat="server" Font-Size="9pt" NavigateUrl='<%#Bind("NewsID")%>'
                                            Target="_blank" Text='<%#Bind("NewsSubject")%>'></asp:HyperLink>
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Left" />
                                </asp:DataList>
                            </ContentTemplate>
                        </asp:UpdatePanel>    
                   </td>
                 </tr>
          </table>
          </td>
        </tr>
        <tr>
          <td colspan="3">&nbsp;</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
